package com.iterator.util;

/**
 * @author: Silence_W
 * @date: 2021-01-11 17:06
 **/
public class StringTrim {


    public static String trim(String str){
        if (str==null){
            return str;
        }

        String str1=str.replaceAll(" ","");
        return str1;

    }
}
